﻿using Adnc.Infra.Entities;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace WYT.Sys.Repository.Entities
{
    /// <summary>
    /// 课程阶段
    /// </summary>
    [Table("sys_EduPhase"), Comment("课程阶段")]
    public class EduPhase : EfEntity
    {
        /// <summary>
        /// 名称
        /// </summary>
        [Comment("名称"),MaxLength(2000)]
        public string PhaseName { get; set; }
        /// <summary>
        /// 课程
        /// </summary>
        [Comment("课程")]
        public long Course { get; set; }

        /// <summary>
        /// 排序
        /// </summary>
        [Comment("排序")]
        public int Sort { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        [Comment("状态")]
        public bool Deleted { get; set; } = false;

        /// <summary>
        /// 创建时间
        /// </summary>
        [Comment("创建时间")]
        public DateTime CreateDate { get; set; }
    }
}
